<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/static/commons/taglibs.jsp"%>
<%@ include file="/static/commons/meta.jsp"%>
<%@ include file="/static/commons/jquery-easyui.jsp"%>
<html>
<head>
<title>${title }</title>
<link rel="stylesheet" href="${ctx }/static/styles/basic/basic.css" />
<link rel="stylesheet" href="${ctx }/static/styles/frame/main.css" />
<link rel="stylesheet" href="${ctx }/static/styles/frame/searchBtn.css" />
<link rel="stylesheet" href="${ctx }/static/styles/frame/searchCondition.css" />
<!-- 证书清单 -->

</head>
<body onload="init()">
	<input type="hidden" name="RequestVerificationToken" value="${RequestVerificationToken}" />
	<div class="width_100 group_box">
		<div class="group_search width_100">
			<div class="rewrite_select f_l border_left_1" style="width: 330px">
				<label class="left_desc" style="width: 70px;">模板名称：</label> 
				<select class="normal_select" id="template" name="p_template" style="width: 260px;">
					<option value="维修确信单">维修确信单</option>
				</select>
			</div>
			<div class="clear_both"></div>
		</div>
	</div>

	<div class="listFrame">
		<iframe name="listFrame" id="listFrame" frameBorder="0"
			scrolling="auto" style="width: 100%; height: 100%;"></iframe>
	</div>
</body>
<script type="text/javascript">
	var headers = {};
	headers['__RequestVerificationToken'] = "${RequestVerificationToken}";
	function init() {
		set_iframe_h();
		$(window).resize(function() {
			set_iframe_h();
		});
		$('.easyui-combobox').combobox();
	}
	//设置ifream 高度
	function set_iframe_h() {
		var win_height = $(window).height();
		var func_line_h = $('.group_box').outerHeight(true);
		var list_height = win_height - func_line_h;
		$('.listFrame').css('height', list_height - 10);
	}

	$(function() {
		var $src = "${ctx}/static/template/维修确认单/维修确认单.html";
		$('#listFrame').attr('src', $src);

		/* $('#template').on('change', function() {
			$src = "${ctx}/static/template/证书清单/" + this.value + ".html";
			$('#listFrame').attr('src', $src);
		}); */
	});
</script>
</html>